home *** CD-ROM | disk | FTP | other *** search
- ┌──────────────────────────────────────────────────────────────────────────┐
- │ Mod Name » P-MAN06.MOD or ANSLOGON.MOD Author » Piano Man #32 │█
- │ WWiV Version » 4.23 (should work on 4.2x) <Remote> SySop Utopia BBS │█
- │ Difficulty » ███▒▒▒▒▒▒▒ 410-557-0868 │█
- │ Mod Version » 1.00ß 32@2 LiveNET 32@13034 RenegadeNET │█
- │ Date Written » 8/7/94 32@4108 PlaNET 32@17003 ChessNET │█
- │ │█
- │ Description » Explains how to make your own ANSI logon screen. │█
- └──────────────────────────────────────────────────────────────────────────┘█
- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
- UtopiaHeader, (c) 1994 Piano Man / Ford Perfect
-
- [*------------------------------Disclaimer---------------------------------*]
-
- Although this mod has been throughly tested on my heavily modded 4.23
- source, there is no guarantee made or implied that this will work. I am not
- responsible for any damage caused directly or indirectly by this mod.
- Feel free to distribute this, and use any of the ideas found in this mod
- it is Freeware. I just ask that you tell me if your going to re-release it
- with any changes. Although you may do this to my parts of the mod, there
- are some parts in here that are copyrighted by WWIV Software Services, and
- cannot be used by anybody without the consent of WWIV Software Services.
- Failure to follow this is punishable by law.
-
- [*--------------------------Extended Description---------------------------*]
-
- There are a lot of mods out there for ANSI logon screens, but if you
- wanted to be origional, this mod will tell you how to make your own. Sure,
- I'll include my logon ansi as an example, but this will tell you, step by
- step, how to make your own.
-
- [*--------------------------------Legend-----------------------------------*]
- ┌────────────────┐
- │ Exhisting - == │
- │ Add Line - ++ │
- │ Mod Line - =* │
- │ Del Line - -- │
- └────────────────┘
- [*----------------------------------Mod------------------------------------*]
-
- Step -1- : 'Why backup your source? it'll be safe with me, muahahah ;)'
-
- Step -2- : First things first, Pull out your favorite ANSI maker (I
- use TheDraw), and be CREATIVE! Make a logon ANSI, and make
- sure you have room set aside for Name, Password, Phone, and
- the system password. You need:
-
- Name/Handle : 35 spaces
- Password : 8 spaces
- Phone : 4 spaces
- System Pass.: 8 spaces
-
- the rest of the space is YOURS. As an example, the one I
- use is included at the end of the file, It's UUENCODED.
- You do not, however, want to use ALL 25 lines available,
- because it will very easily scroll off the screen,
- especially people who have only 24 line displays. A good
- rule is to keep it under 20 lines.
-
- Step -3- : Save the ANSI, but don't exit the editor just yet.
- get the starting x and y coordinates of all your 'fields'
- (spaces you set aside for name and password). In TheDraw,
- place the cursor over the first space, and read the numbers
- from the bottom of the screen, other editors, you're on your
- own, sorry <g>. Write those down for later reference.
-
- Step -4- : Now, Exit the ANSI editor, and open up your file in the
- MS-DOS editor (type "edit <ansi file name here>").
- Looking at the file, you should see all sorts of ANSI codes,
- but go to the end of the file. You will see there are a few
- blank lines, and then a '' or something like that.
- DELETE the blank lines between the rest of the ANSI and
- this. This will prevent the ANSI from scrolling off the
- screen. Save the new ANSI and move it to your GFILES dir.
-
- Step -5- : Now for the source code part. Open LILO.C, and in function
- 'void getuser(void)' look for the following and modify
- where indicated.
-
- == pl(get_string(355));
- ++ ans=check_ansi();
- ++ if (ans==0)
- == outstr(get_string(356)); /* DON'T change the NN: prompt. */
- ++ else {
- ++ printfile("utopiaon.ans"); // <- Change UTOPIAON.ANS to your ANS file
- ++ npr("\033[5;12H"); // <- Change 5 and 12 to the x-y coordinates
- ++ } // or your Name/Handle field.
- == input(s,30);
- == usernum=finduser(s);
- == if ((net_only) && (usernum!=-2))
-
- and further down...
-
- == ok=1;
- == actsl = syscfg.newusersl;
- == topscreen();
- ++ if (ans==0)
- == outstr(get_string(357));
- ++ else
- ++ npr("\033[5;61H"); // <- Change 5 and 61 to the coordinates of
- == echo=0; // your Password field.
- == input(s,8);
- == if (strcmp(s,thisuser.pw)!=0)
-
- and further down....
-
- == if (((syscfg.sysconfig & sysconfig_free_phone)==0)) {
- == if (usa_phone_convention(&thisuser) || !thisuser.country[0]) {
- ++ if (ans==0)
- == outstr(get_string(358));
- ++ else
- ++ npr("\033[7;37H"); //change to Phone Coordinates
- == echo=0;
- == input(s2,4);
- == if (strcmp(s2,&thisuser.phone[8])!=0) {
-
- and finally...
-
- == }
- == if ((thisuser.sl==255) && (incom) && (ok)) {
- ++ if (ans==0)
- == outstr(get_string(616));
- ++ else
- ++ npr("\033[7;66H"); // Change to system Password Coordinates
- == echo=0;
- == input(s4,20);
-
- and if you want to add a little flare...
-
- == input(s4,20);
- == if (strcmp(s4,syscfg.systempw)!=0)
- == ok=0;
- == }
- ++ if ((thisuser.sl!=255) && (ans>0)) {
- ++ echo=1;
- ++ npr("\033[7;66HDNO NEED!"); // Change to Sys Passowrd coordinat.
- ++ }
- == echo=1;
- ++ outchr(12);
- == nl();
- == nl();
-
- Step -6- : That should do it, Save and Re-Compile. If it doesn't
- work right, toy around with it a little, after a little
- work, it normally turns out. If your users complain of
- 'X's all over the place, fool around with the placement
- of the 'echo=0' and 'echo=1' statements. I'll be glad to
- help you if you have any problems. OHH! it may not look
- aligned right locally because of the blue topscreen info.
- Don't worry, as long as it works out remotely, that's all
- that matters.
-
- Note : If you wanted to use my ANSI, keep the coordinates in the
- source the same, and then UUDECODE the following chunk of
- code. Then copy the output file, UTOPIAON.ANS, into your
- GFILES directory. Run, and it should work. But i encourage
- you to make your own.
-
- [*-------------------------------UTOPIAON.ANS------------------------------*]
-
- section 1 of uuencode 5.15 of file utopiaon.ans by R.E.M.
-
- begin 644 utopiaon.ans
- M&ULT,&T;6S)*&ULQ0QM;,#LQ.S0T;=K$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$
- MQ,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$
- MQ,3$Q,3$Q,2_&ULT,&T-"B`;6S0T;;,@("`@("`;6S(P0QM;-#!M5V5L8V]M
- M92!T;R!5=&]P:6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M("`@("`@("`@("`@("`@(+,;6S0P;0T*(!M;-#1MLR`@(!M;,3%#&ULS-3LT
- M,&U.97<@57-E<G,@<&QE87-E('1Y<&4@)TYE=R<@870@=&AE($YA;64@<')O
- M;7!T+AM;,3!#&ULT-&T@("`@&ULS-VVS&ULT,&T-"B`;6S0T;<#$Q,3$Q,3$
- MQ,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$
- MQ,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,39&ULT,&T-"@T*&ULP;1M;,C4U1`T*
- `
- end
- sum -r/size 56319/1579 section (from "begin" to "end")
- sum -r/size 52160/1125 entire input file
-
-
- [*--------------------------------End Of Mod-------------------------------*]
-
- This wasn't a hard mod to do, but it IS a hard mod to explain. If
- you have any questions of suggestions, tell me, and i'll be glad to
- help.
-
- Please, let me know if you have any problems! my addresses are at the
- top of the file. Call Utopia BBS, 410-557-0868, for all the latest
- versions and new mods. Thank you, and be on the lookout for more mods
- by me, Piano Man:
-
- P-MAN01.MOD : Random Internal BBS Tags
- P-MAN02.MOD : Enhanced Message Reply Status
- P-MAN03.MOD : Enhanced Menu Input
- P-MAN04.MOD : ANSI //WAIT Mod
- P-MAN05.MOD, P-MAN05B.MOD : Chains Listing w/ Popularity Meter (fixed)
- P-MAN06.MOD : How to make a logon ANSI box.
-
- 4█0 4█0 4██0 4█0 4█0 4██0
- 4██Piano Man██0
- 0▀▀▀▀▀▀▀▀▀▀▀▀▀
-